/*
#include <iostream>
using namespace std;
main()
{
	void exchange(int *q,int m);
	int a[10],*p,m;
	cout<<"Input 10numbers:"<<endl;
	for(p=a;p<a+10;p++) cin>>*p;
	cout<<"Input the cut number"<<endl;
	cin>>m;
	cout<<endl;
	cout<<*p<<endl;
	p=a;
	exchange(p,m);
	for(p=a;p<(a+10);p++) cout<<*p<<endl;
	return 0;
}

void exchange(int *q,int m)
{
	int i,j,k,temp;
	for(i=10-m,k=0;i<10;i++,k++)
		for(j=i;j>k;j--)
		{
			temp=*(q+j);
			*(q+j)=*(q+(j-1));
			*(q+(j-1))=temp;
		}
}
*/



	